getenv for command line switches

the getenv command can be used to get the value of the 'addins' parameter if the parameter is defined in the registry.

print getenv("Addins")

If the addins value is defined in a command line switch then it is not accessible using the getenv command.

Is there any way to access the value of 'addins' via DXL if it is defined in a command line switch?

Sean


DoorsXLAustralia - Wed May 11 22:16:46 EDT 2016

Re: getenv for command line switches
DoorsXLAustralia - Wed May 11 23:34:03 EDT 2016

I found the answer.

It is to prepend the variable with DOORS e.g.

 

print getenv("DOORSADDINS")